<template>
	<view>
		<div class="input">
			<!-- <view class="option"> -->
			<!-- 	<text class="tp-mr15">{{searchType}}</text>
				<uni-icons type="arrowdown" size="14" color="#666"></uni-icons>
			</view> -->
			<input type="text" maxlength="10" v-model="searchContent" disabled placeholder="景区/门票/酒店/商城" @input="changeSearch" />
		</div>
	</view>
</template>

<script>
	import $DB from '../../utils/debounce.js'
	export default {
		components: {

		},
		data() {
			return {
				searchContent: '',
				searchType: '定制旅游'
			};
		},
		methods: {
			changeSearch: $DB(function(e) {
				console.log(e.detail.value);
			}),
		}
	}
</script>

<style lang="scss" scoped>
	.input {
		position: relative;
		width: 690rpx;
		margin: 0 auto;
		height: 56rpx;
		line-height: 56rpx;
		border-radius: 28rpx;
		color: #CCCCCC;
		background: #fff url(../../static/imgs/icons/search-icon.png) no-repeat left 238rpx center;
		background-size: 28rpx 28rpx;
		padding-left: 275rpx;
		box-sizing: border-box;

		.option {
			position: absolute;
			left: 30rpx;
			color: #333333;
		}
	}
</style>
